package com.itheimaoa.domain.privilege;

import java.util.HashSet;
import java.util.Set;

public class Role {

	private Integer rid;
	private String rname;
	
	private Set<Privilege> privileges = new HashSet<Privilege>();
	private Set<Employee> employees = new HashSet<Employee>();

 

	public Integer getRid() {
		return rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public String getRname() {
		return rname;
	}

	public void setRname(String rname) {
		this.rname = rname;
	}

	public Set<Privilege> getPrivileges() {
		return privileges;
	}

	public void setPrivileges(Set<Privilege> privileges) {
		this.privileges = privileges;
	}

	public Set<Employee> getEmployees() {
		return employees;
	}

	public void setEmployees(Set<Employee> employees) {
		this.employees = employees;
	}
	
}
